﻿using Microsoft.Xna.Framework;

namespace SceneManager
{
    /// <summary>
    /// Represents a directional light (ie the sun)
    /// </summary>
    public class DirectionalLight : Light
    {
        /// <summary>
        /// Gets or sets the direction of this light
        /// </summary>
        public Vector3 Direction { get; set; }

        /// <summary>
        /// Initializes a new instance of the DirectionalLight class with specified color, intensity and direction
        /// </summary>
        /// <param name="color">The color of the light</param>
        /// <param name="intensity">The intensity of the light</param>
        /// <param name="direction">The direction of the light</param>
        public DirectionalLight(Color color, float intensity, Vector3 direction) : base(color, intensity)
        {
            Direction = direction;
        }
    }
}
